/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package BUS;

import DAO.PhieuThuTienDAO;
import Entity.PhieuThuTien;

/**
 *
 * @author copang
 */
public class PhieuThuTienImpl implements PhieuThuTienBUS{

    PhieuThuTienDAO dao;

    public PhieuThuTienImpl() {
        dao = new DAO.PhieuThuTienImpl();
    }

    public boolean add(PhieuThuTien data) {
        if (data.getSoTienThu() <= 0)
            return false;

        return dao.add(data);
    }

}
